Framework (A-Z)

Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.

Name

// (comment)

Examples
// Initializes pin 8 as OUTPUT
// sets pin 8 to HIGH
pinMode(8, OUTPUT);    // Sets pin 8 as OUTPUT 
digitalWrite(8, HIGH); // Sets pin 8 HIGH
Description Explanatory notes embedded within the code. Comments are used to remind yourself and to inform others about the function of your program. Single-line comments are signified with the // characters. Comments are ignored by the compiler.
Syntax
// comment
Parameters
comment any sequence of characters
Usage Application
Related /* */ (multiline comment)
Updated on July 07, 2011 11:08:01pm PDT

Creative Commons License